#ifndef LOGGER_H
#define LOGGER_H

#include <QWidget>
#include "ui_QLogger.h"

class QLogger : public QWidget
{
	Q_OBJECT

public:
	static QLogger* getInstance();
	void append(const QString &msg);
	
protected:
	QLogger(QWidget *parent = 0);
	~QLogger();	
	static QLogger* instance;

private:
	Ui::Logger ui;
};

#endif // LOGGER_H
